package com.party.core.dao.read.analysis;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.analysis.StatisticsMobileEventCounter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: party-temp
 * @description: 手机端事件统计写入
 * @author: yuguangqing
 * @create: 2018-09-11 12:53
 **/

@Repository
public interface StatisticsMobileEventCountReadDao extends BaseReadDao<StatisticsMobileEventCounter> {

    List<StatisticsMobileEventCounter> listPageByOthers(@Param("eventCount") StatisticsMobileEventCounter eventCount, @Param("params") Map<String, Object> params, Page page);

    /**
     * 移动端事件统计
     *
     * @param map 请求参数
     * @return 统计结果
     */
    List<StatisticsMobileEventCounter> mobileCountList(@Param("params") Map<String, Object> map);
}
